<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>EL表达式接受请求参数Test</title>
</head>
<body>

<!-- 
Param：单个参数
paramValues：一组参数
-->
<%
	request.setCharacterEncoding("utf-8");
%>
<h2>姓名:${param.name}</h2>
<h2>年龄:${param.age}</h2>
<br>
<h2>爱好1:${paramValues.hobby[0]}</h2>
<h2>爱好2:${paramValues.hobby[1]}</h2>
<h2>爱好3:${paramValues.hobby[2]}</h2>
</body>
</html>